// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** getCompanyList GET /api/position/get/companyList */
export async function getCompanyListUsingGet(options?: { [key: string]: any }) {
  return request<API.BaseResponseListCompany_>('/api/position/get/companyList', {
    method: 'GET',
    ...(options || {}),
  })
}

/** getPositionList GET /api/position/get/positionList */
export async function getPositionListUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getPositionListUsingGETParams,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseListPosition_>('/api/position/get/positionList', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  })
}

/** getTechFieldAndPosition GET /api/position/get/techFieldAndPosition */
export async function getTechFieldAndPositionUsingGet(options?: { [key: string]: any }) {
  return request<API.BaseResponseGetTechFieldAndPositionResponse_>(
    '/api/position/get/techFieldAndPosition',
    {
      method: 'GET',
      ...(options || {}),
    }
  )
}

/** getTechFieldList GET /api/position/get/techFieldList */
export async function getTechFieldListUsingGet(options?: { [key: string]: any }) {
  return request<API.BaseResponseListTechField_>('/api/position/get/techFieldList', {
    method: 'GET',
    ...(options || {}),
  })
}
